package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;


/**
 * 获取登录用户对应某个表单的权限DTO
 * @author kaka
 * @time 2018-11-22 14:47
 */
@Getter
@Setter
@ToString
public class UserFormPermissionDTO extends BaseDTO {

    private static final long serialVersionUID = -9171709982148503392L;

    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.userFormPermission.appId.NotNull}")
    private Long appId;

    /**
     * 菜单id
     */
    @NotNull(message = "{dto.msg.userFormPermission.menuId.NotNull}")
    private Long menuId;

}
